package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 药品关联秒杀
 */
@Data
@ApiModel("药品关联秒杀")
public class DrugInnerSeckill implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 药品关联秒杀
     */
    @TableId
    @ApiModelProperty("药品关联秒杀")
    private Long id;

    /**
     * 药品id
     */
    @ApiModelProperty("药品id")
    private Long drugId;

    /**
     * 秒杀id
     */
    @ApiModelProperty("秒杀id")
    private Long seckillId;

    /**
     * 秒杀价
     */
    @ApiModelProperty("秒杀价")
    private BigDecimal priceSpike;

    /**
     * 库存
     */
    @ApiModelProperty("库存")
    private Integer limitStock;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 商户id
     */
    @ApiModelProperty("商户id")
    private Long merchantId;

}
